import config from 'config'
import httpFetch from 'share/httpFetch'

export default {
  //获取审批中可编辑的字段
  getEditDTO(params) {
    return httpFetch.get(`${config.baseUrl}/api/approval/custom/form`, params)
  },

  //保存审批中可编辑字段
  saveData(params) {
    return httpFetch.post(`${config.baseUrl}/api/approval/edit`, params)
  },

  getAuditDTO(params) {
    return httpFetch.get(`${config.baseUrl}/api/audit/custom/form`, params)
  },

  editSave(params){
    return httpFetch.post(`${config.baseUrl}/api/finance/audit/edit`, params)
  }
}
